/**
* @Description: WoShop商城
* @Author: 梧桐
* @Copyright: 武汉一一零七科技有限公司©版权所有
* @Link: www.wo-shop.net
* @Contact: QQ:2487937004
*/
<template>
	<view style="padding:0 24upx">


		<u-parse :html="content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: '',
				title: ''
			}
		},
		onLoad(option) {
			this.title = option.title;
			uni.setNavigationBarTitle({
				title: option.title
			})
			this.init();
		},
		methods: {

			init() {
				this.$http.getArticleByTitle({
					title: this.title
				}).then((res) => {
					if (res.status == 200) {
						this.content = res.data.ar_content;
					}
				})
			},

		}

	}
</script>

<style scoped>
	page {
		background: #ffffff;
		padding-top: 30upx;
	}

	.title {
		font-size: 34upx;
		color: #333;
		line-height: 42upx;
		margin: 20upx 0 40upx;
		text-align: center;
	}
</style>
